﻿<%@ Control Language="C#" AutoEventWireup="true" CodeBehind="CaptCha.ascx.cs" Inherits="FinalProject.CaptCha" %>

<%@ Register TagPrefix="telerik" Namespace="Telerik.Web.UI" Assembly="Telerik.Web.UI" %>

<style type="text/css">
      
      .rcRefreshImage
        {
            text-decoration:none;
        }
        
        .imageClass
        {
            padding-top: 0px;
            padding-bottom: 0px;
        }
        
        .CaptChaBox
        {
            background-color:Transparent;
            border: none;
            margin: 0 0 0 0 0;
            float:left;
        }
        
        .CaptchaTextBox
        {
            /*width:40%;	*/
            /*width:145px;*/
        }
        
        .VerifyText
        {
        	    width:36%;
        	    padding-top:2px;
        	    float:left;
        	    color:red !important;
        	    font-weight:bold;
        	    font-size:12px;        	  
        	    text-align:left;     
        	    padding-right:20px;   	  
        }
</style>
<div id="divVerifyText" class="VerifyText" style="color:Red !important" runat="server"> Mã xác nhận 
    <asp:TextBox ID="txtVerifyCode" runat="server" CssClass="CaptChaTextBox" ValidationGroup="Group" Width="100%"></asp:TextBox>
</div>
<div style="width:50%;float:left;padding-left:0px">
<telerik:RadFormDecorator ID="FormDecorator1" runat="server" DecoratedControls="Zone">
    </telerik:RadFormDecorator>
    <fieldset class="CaptChaBox">
        <div style="float: left;">
            <telerik:RadCaptcha Display="Dynamic" ID="RadCaptCha" runat="server" EnableRefreshImage="true" CaptchaLinkButtonText="Mã xác nhận mới"
                ValidationGroup="Group" CaptchaTextBoxLabel="" ValidatedTextBoxID="txtVerifyCode" CaptchaImage-RenderImageOnly="true" CaptchaImage-Height="31" CaptchaImage-Width="110" Font-Size="XX-Small" CaptchaTextBoxCssClass="captchaTextBox" IgnoreCase="false">
                <CaptchaImage ImageCssClass="imageClass"/>
            </telerik:RadCaptcha>
        </div>
    </fieldset>
    
    <%--<telerik:RadAjaxManager ID="ajaxManager" runat="server">  
        <AjaxSettings>
            <telerik:AjaxSetting AjaxControlID="cbEnableRefreshImage" EventName="CheckedChanged">
                <UpdatedControls>
                    <telerik:AjaxUpdatedControl ControlID="cbEnableRefreshImage" />
                    <telerik:AjaxUpdatedControl ControlID="RadCaptCha" />
                </UpdatedControls>
            </telerik:AjaxSetting>
        </AjaxSettings>
    </telerik:RadAjaxManager>--%>
</div>
